﻿using MKAdminCore.DTO.CusAttribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MKAdminCore.DTO.Web.TableData.BasicTable
{
    public class AddBasicTableParam
    {
        /// <summary>
        /// 姓名
        /// </summary>
        [CusRequired(ErrorMsg = "请输入姓名")]
        public string employeeName { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        [CusRequired(ErrorMsg = "请输入年龄")]
        public int employeeAge { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [CusRequired(ErrorMsg = "请选择性别")]
        public int employeeSex { get; set; }
        /// <summary>
        /// 身高
        /// </summary>
        [CusRequired(ErrorMsg = "请输入身高")]
        public int employeeHeight { get; set; }
        /// <summary>
        /// 学历
        /// </summary>
        [CusRequired(ErrorMsg = "请选择学历")]
        public string employeeEducation { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        [CusRequired(ErrorMsg = "请输入联系方式")]
        public string employeePhone { get; set; }
    }
}
